import * as THREE from 'three'


const textureCubeLoader = new THREE.CubeTextureLoader().setPath("./textures/env/");
const textureCube = textureCubeLoader.load([
    "1.jpg",
    "2.jpg",
    "3.jpg",
    "4.jpg",
    "5.jpg",
    "6.jpg",
  ]);

export const  scene = new THREE.Scene();

scene.background = textureCube;
scene.environment  = textureCube;

export const  getScene = ()=>scene